#include "stdafx.h"
#include "SIPTerminalActor.h"
#include "SipTerminalRobot.h"

CSIPTerminalActor::CSIPTerminalActor(CSipRobot* pSip)
{
	mpSipTerminal = pSip;
}


CSIPTerminalActor::~CSIPTerminalActor(void)
{
}

int CSIPTerminalActor::HandleWaitReg()
{
	return ((CSipTerminalRobot*)mpSipTerminal)->WaitReg();
}
int CSIPTerminalActor::HandleRegister()
{
   return ((CSipTerminalRobot*)mpSipTerminal)->DriverRegister();     
}
int CSIPTerminalActor::HandleRegisterAuth()
{
    return ((CSipTerminalRobot*)mpSipTerminal)->DriverRegisterAuth();    
}
int CSIPTerminalActor::HandleIdle()
{
    return ((CSipTerminalRobot*)mpSipTerminal)->DriverKeepLive();   
}
